package a04_字符串;

import java.util.Scanner;

/**
 * <p>
 * a03_替换数字
 * </p>
 *
 * @author flyduck
 * @since 2024-07-10
 */
public class a03_替换数字复习3 {
    public static String replaceNumber(String s){
        char[] chars = s.toCharArray();
        StringBuilder sb = new StringBuilder();
        for (char c : chars) {
           if((int)c >= 48 && (int)c <= 57){
               sb.append("number");
           } else {
               sb.append(c);
           }
        }
        return sb.toString();
    }

    public static void main(String[] args) {

        //System.out.println((int)'0');//48
        //System.out.println((int)'9');//57
        Scanner scanner = new Scanner(System.in);
        String next = scanner.next();
        System.out.println(replaceNumber(next));

    }
}
